package com.chushouya.common.constant;

/**
 * 铛铛对接常量
 */
public class DangDangConstants {

    /**
     * 请求头参数名
     */
    public static final String HEADER_APP_ID = "appId";
    public static final String HEADER_TIMESTAMP = "timestamp";
    public static final String HEADER_SIGN = "sign";

    /**
     * 环境配置
     */
    public static final String PROD_BASE_URL = "https://vues.dd1x.cn";
    public static final String TEST_BASE_URL = "https://vues.chaojixiang.online";

    /**
     * API接口路径
     */
    public static final String CREATE_ORDER_PATH = "/api/company/add_rubbish";
    public static final String CANCEL_ORDER_PATH = "/api/company/close_order_info";

    /**
     * 应用配置
     */
    public static final String APP_ID = "chushouya";
    public static final String APP_SECRET = "hFiybOgkYC6ETV1y";

    /**
     * 订单类型
     */
    public static final String ORDER_TYPE_CLOTHES = "0";  // 衣服
    public static final String ORDER_TYPE_BOOKS = "1";    // 书籍

    /**
     * 响应状态码
     */
    public static final int SUCCESS_CODE = 0;
}
